package com.cn.leyou.api;

import com.cn.leyou.pojo.Category;
import java.util.List;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@RequestMapping("/category")
public interface CategoryApi {

	@GetMapping("/list/ids")
	List<Category> queryCategoryByIds(@RequestParam("ids") List<Long> ids);
}
